import  java.util.Scanner;

public class Sum {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入五个符合取值范围的值：");
        int a = input.nextInt();
        int b = input.nextInt();
        int c = input.nextInt();
        int d = input.nextInt();
        int e = input.nextInt();
        if (0 < a && a < 100) {
            if (0 < b && b < 100) {
                if (0 < c && c < 100) {
                    if (0 < d && d < 100) {
                        if (0 < e && e < 100) {
                            System.out.println("sum=" + (a + b + c + d + e));
                        }
                    }
                }
            }
        }
        else{
            System.out.println("该成绩有误，不列入计算");
        }
    }
}
